﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="ActivityMasterModify.aspx.cs" Inherits="Admin_ActivityMasterModify" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <style>
       .maintitle {
           font-size: large;
           font-weight: bold;
       } 
       .auto-style2 {
            width: 3%;
        }
       </style>
     <table style="width: 100%" id="TABLE2" cellspacing="1" cellpadding="1" border="0">
                <tbody>
                    <tr>
                        <td colspan="3" style="text-align: left;"><%--<asp:ScriptManager ID="ScriptID" runat="server"></asp:ScriptManager>--%>
                            <asp:Label ID="lblTitle" runat="server" Font-Size="30px" Text="Add Activity Master"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                      <td colspan="3" style="text-align: left;"></td>
                    </tr>
                    <tr>
                        <td style="width: 49%; height: 17px" align="right">
                        </td>
                        <td class="auto-style2">
                        </td>
                        <td style="width: 54%; height: 17px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 49%; height: 17px" align="right">
                        </td>
                        <td class="auto-style2">
                        </td>
                        <td style="width: 54%; height: 17px">
                        
                    <asp:Label ID="lblMessage" runat="server" Font-Bold="True" ></asp:Label></td>
            </tr>
                     <tr>
                        <td style="width: 49%; height: 17px" align="right">&nbsp;
                        </td>
                        <td class="auto-style2">&nbsp;
                        </td>
                        <td style="width: 54%; height: 17px">&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 49%" align="right">
                            Activity TypeID &nbsp;<font color="red">*</font>
                        </td>
                        <td class="auto-style2">&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td style="width: 54%">
                            
                             <asp:DropDownList ID="ActivityTypeIdList" runat="server" Width="230px" OnSelectedIndexChanged="ActivityTypeIdList_SelectedIndexChanged" >
                             
                             
                             </asp:DropDownList>
                            &nbsp; <asp:RequiredFieldValidator ID="reqActivityTypeIdList"  ControlToValidate="ActivityTypeIdList" runat="server" ErrorMessage="Select Activity Type ID." ForeColor="Red" ></asp:RequiredFieldValidator>
                            
                             </td>
                    </tr>
                    <tr>
                        <td style="width: 49%" align="right">
                            Activity Name &nbsp;<font color="red">*</font>
                        </td>
                        <td class="auto-style2">&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtActivityName" runat="server" Width="220px" MaxLength="50"></asp:TextBox>&nbsp; 
                            <asp:RequiredFieldValidator ID="reqActivityName"  ControlToValidate="txtActivityName" runat="server" ErrorMessage="Enter Activity Name." ForeColor="Red" ></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 49%" align="right">
                            Activity Code &nbsp;<font color="red">*</font>
                        </td>
                        <td class="auto-style2">&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtActivityCode" runat="server" Width="220px" MaxLength="50" OnTextChanged="txtActivityCode_TextChanged"></asp:TextBox>&nbsp; <asp:RequiredFieldValidator ID="reqActivityCode"  ControlToValidate="txtActivityCode" runat="server" ErrorMessage="Enter Activity Code." ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                 <%--    <tr>
                        <td style="width: 45%" align="right">
                            Country &nbsp;<font color="red">*</font>
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtCountry" runat="server" Width="220px" MaxLength="50">
                            </asp:TextBox>
                            <asp:RequiredFieldValidator ID="ReqCountry" runat="server" ControlToValidate="txtCountry"
                                SetFocusOnError="true" Display="None" ErrorMessage="Country Cannot be Blank !!!">
                            </asp:RequiredFieldValidator>
                            <cc1:ValidatorCalloutExtender ID="valCountry" runat="server" TargetControlID="ReqCountry">
                            </cc1:ValidatorCalloutExtender>
                        </td>
                    </tr>--%>
                    <%-- <tr>
                        <td style="width: 45%" align="right">
                            Bank Account ID &nbsp;<font color="red">*</font>
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtbankaccountID" runat="server" Width="220px" MaxLength="50">
                            </asp:TextBox>
                            <asp:RequiredFieldValidator ID="ReqbankaccountID" runat="server" ControlToValidate="txtbankaccountID"
                                SetFocusOnError="true" Display="None" ErrorMessage="Bank Account ID Cannot be Blank !!!">
                            </asp:RequiredFieldValidator>
                            <cc1:ValidatorCalloutExtender ID="valbankaccountID" runat="server" TargetControlID="ReqbankaccountID">
                            </cc1:ValidatorCalloutExtender>
                        </td>
                    </tr>--%>
                     <tr>
                        <td style="width: 49%" align="right">
                            Is Active&nbsp; 
                        </td>
                        <td class="auto-style2">&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td style="width: 54%">
                            <asp:CheckBox ID="chkIsactive" runat="server" /> 
                        </td>
                    </tr>
                        <tr>
                            <td align="right" style="width: 49%; height: 18px"></td>
                            <td class="auto-style2"></td>
                            <td style="width: 54%; height: 18px"></td>
                        </tr>
                        <tr>
                            <td align="right" colspan="3" style="height: 30px; text-align: center">
                                <asp:Button ID="btnSave" runat="server" OnClick="btnSave_OnClick"  SkinID="buttonSkin" Text="Save" />
                                &nbsp; &nbsp;
                                <asp:Button ID="btnCancel" runat="server" CausesValidation="false" OnClick="btnCancel_OnClick" SkinID="buttonSkin" Text="Cancel" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="3" style="height: 30px; text-align: center">
                             </td>
                        </tr>
                </tbody>
            </table>
</asp:Content>

